namespace Physics {
    public class Vector3
    {
        public real X { get; set; }
        public real Y { get; set; }
        public real Z { get; set; }

        public Vector3() {
            X = 0;
            Y = 0;
            Z = 0;
        }

        public Vector3(real x, real y, real z) {
            X = x;
            Y = y;
            Z = z;
        }

        public void Invert() {
            X = -X;
            Y = -Y;
            Z = -Z;
        }
    }
}